﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:local="clr-namespace:Seesmic.HelloTipi"
    xmlns:controls="clr-namespace:Seesmic.HelloTipi.Controls"
    xmlns:c="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    xmlns:ct="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    xmlns:helpers="clr-namespace:Seesmic.HelloTipi.Helpers">


    <helpers:UrlToUriConverter x:Key="UrlToUriConverter"/>

    <System:String x:Key="HelloTipiIcon">F1 M 136.5,95C 140.31,85.565 142.723,75.6227 146.031,66C 147.523,61.6609 149.75,57.5969 151.219,53.25C 152.894,48.2905 154.667,41.9188 159.5,39.9063C 163.058,38.4247 168.113,38.5409 171,41.0938C 177.639,46.9646 171.87,59.5733 167.906,67.5C 164.284,74.7437 161.272,82.2773 157.813,89.6C 154.708,96.1711 150.891,102.509 148.906,109.5C 147.505,114.437 154.111,118.368 157.156,122.5C 164.006,131.795 171.006,140.984 178.219,150C 193.947,169.661 209.882,189.158 226,208.5C 235.845,220.314 244.374,233.186 254.219,245C 263.784,256.478 272.885,268.333 282.219,280C 284.885,283.333 287.552,286.667 290.219,290C 290.997,290.973 292.498,291.359 293,292.5C 293.406,293.422 292.76,294.5 292.641,295.5C 292.521,296.5 292.845,297.665 292.281,298.5C 287.925,304.955 280.982,309.234 275,314.219C 265.987,321.729 255.769,327.796 245.333,333.156C 238.429,336.702 231.016,339.312 223.5,341.25C 218.556,342.525 213.48,345.467 208.5,344.344C 204.418,343.423 204.61,336.765 204,332.625C 203.281,327.75 203.107,322.763 201.844,318C 200.411,312.596 198.473,307.195 195.438,302.5C 194.689,301.343 193.225,300.725 192.594,299.5C 192.134,298.608 192.852,297.365 192.344,296.5C 191.547,295.144 190.063,294.333 188.922,293.25C 187.781,292.167 186.756,290.948 185.5,290C 179.221,285.262 169.811,281.817 162.5,284.719C 146.782,290.957 140.695,312.712 138.656,329.5C 138.092,334.148 137.736,338.823 137.531,343.5C 137.469,344.915 137.521,346.333 137.516,347.75C 137.51,349.167 138.263,350.806 137.5,352C 136.695,353.26 134.944,353.642 133.5,354.031C 132.119,354.404 130.643,354.168 129.214,354.237C 127.786,354.305 126.357,354.374 124.929,354.442C 123.5,354.51 122.071,354.579 120.643,354.647C 112.049,355.059 103.355,355.449 94.8333,354.26C 82.5183,352.543 69.8917,350.796 58.5,345.813C 48.7867,341.563 38.2769,337.154 31.5,329L 31,328.5C 31.1146,327.333 31.2292,326.167 31.3438,325C 31.4583,323.833 31.222,322.576 31.6875,321.5C 34.1034,315.917 38.5209,311.264 40.4688,305.5C 40.789,304.552 40.0839,303.395 40.5313,302.5C 41.1572,301.248 42.9126,300.784 43.4688,299.5C 43.9987,298.276 42.9661,296.693 43.5625,295.5C 44.396,293.833 46.5496,293.121 47.4688,291.5C 47.9621,290.63 47.1737,289.434 47.5313,288.5C 47.743,287.947 48.7499,288.037 49,287.5C 49.6519,286.101 49.4034,284.381 50.0938,283C 50.4553,282.277 51.6384,282.223 52,281.5C 55.1456,275.209 57.4662,268.537 60.0625,262C 60.5351,260.81 61.4271,259.833 62.1094,258.75C 62.7917,257.667 63.5861,256.646 64.1563,255.5C 68.4747,246.818 71.9578,237.741 76.1563,229C 78.5355,224.047 81.9709,219.607 84,214.5C 91.6519,195.241 101.062,176.685 111,158.5C 115.433,150.389 118.08,141.326 123,133.5C 124.791,130.652 125.406,127.208 126.844,124.167C 127.448,122.889 128.052,121.611 128.656,120.333C 129.26,119.056 130.445,117.913 130.469,116.5C 130.491,115.205 129.555,114.039 128.781,113C 128.037,112 126.779,111.473 126,110.5C 125.421,109.776 125.375,108.712 124.781,108C 123.293,106.216 121.477,104.733 119.825,103.1C 113.217,96.5667 105.954,90.6349 100,83.5C 96.2216,78.9721 91.472,75.2668 88,70.5C 85.3455,66.8555 85.2636,61.0923 87.1563,57C 88.9262,53.173 93.2843,49.6344 97.5,49.7188C 104.107,49.8509 108.449,57.5721 112.219,63C 116.871,69.6994 122.379,75.7788 127,82.5C 129.965,86.8126 132.374,91.78 136.5,95 Z</System:String>

    <DataTemplate x:Key="SmallLogoTemplate"></DataTemplate>

    <DataTemplate x:Key="LargeLogoTemplate"></DataTemplate>

    <DataTemplate x:Key="NewAccountTemplate">
        <controls:NewAccountControl Account="{Binding}" />
    </DataTemplate>

    <DataTemplate x:Key="OneAccountOnly">
        <controls:OneAccountOnly />
    </DataTemplate>

    <DataTemplate x:Key="TimelineItemTemplate">
        <controls:TimeLineItemTemplate />
    </DataTemplate>

    <DataTemplate x:Key="NotificationItemTemplate">
        <controls:NotificationItemTemplate />
    </DataTemplate>

    <DataTemplate x:Key="NotificationToastHeader">
        <controls:NotificationToastHeader />
    </DataTemplate>


    <DataTemplate x:Key="EditAccountTemplate" >
        <controls:EditAccountControl />
    </DataTemplate>

    <DataTemplate x:Key="Settings" >
        <controls:SettingsControl />
    </DataTemplate>

    <DataTemplate x:Key="HelloTipiAccountIcon">
        <Path Width="14"
              Height="14"
              Data="{StaticResource HelloTipiIcon}"
              Fill="White"
              Stretch="Uniform" />
    </DataTemplate>

    <DataTemplate x:Key="HelloTipiSmallIcon">
        <Path Width="12"
              Height="12"
              Data="{StaticResource HelloTipiIcon}"
              Fill="White"
              Stretch="Uniform" />
    </DataTemplate>

    <DataTemplate x:Key="MentionActionIcon">
        <Path Fill="White" Width="12" Height="12" Stretch="Fill" Data="F1M558.7,533.9C555.3,533.0,550.0,532.6,547.8,532.6C542.2,532.6,537.8,534.5,536.9,540.7C535.7,547.9,534.7,553.5,533.5,560.6C532.6,565.3,534.1,567.8,538.8,567.8C542.5,567.8,550.6,564.7,553.7,562.5z M573.6,572.1C575.8,573.4,579.2,574.3,581.7,574.3C596.3,574.3,603.1,559.7,603.1,542.6C603.1,516.2,584.2,495.4,550.3,495.4C512.0,495.4,489.7,519.0,489.7,555.3C489.7,593.6,513.0,614.1,556.2,614.1C568.6,614.1,581.4,611.6,595.0,607.9L601.6,630.2C588.2,635.8,568.9,639.0,554.6,639.0C494.0,639.0,461.7,603.2,461.7,555.3C461.7,504.7,494.9,471.1,550.3,471.1C603.1,471.1,629.5,506.2,629.5,542.0C629.5,574.6,614.0,594.5,584.5,594.5C573.9,594.5,560.5,589.2,554.6,581.1C548.4,584.9,538.5,588.0,530.4,588.0C515.2,588.0,507.7,574.9,510.2,562.8C511.7,555.3,513.0,546.9,514.5,538.6C517.6,520.2,527.9,512.4,549.3,512.4C558.7,512.4,572.7,515.2,582.9,519.9z" />
    </DataTemplate>

    <DataTemplate x:Key="PrivateActionIcon">
        <Path Margin="0,-1,0,1" Fill="White" Width="12" Height="9" Stretch="Fill" Data="F1M106.1,95.7L153.5,137.0L153.5,54.4z M15.7,54.4L15.7,137.0L63.1,95.7z M152.7,42.5L16.5,42.5L84.6,102.5z M101.5,103.2L84.6,118.5L67.6,103.2L16.5,149.6L152.7,149.6L117.2,117.4z" />
    </DataTemplate>

    <DataTemplate x:Key="HelloTipiProfileTemplate">
        <controls:ProfilControl/>              
    </DataTemplate>


    <DataTemplate x:Key="PhotosTemplate">
        <controls:PhotosTemplate />
    </DataTemplate>


    <DataTemplate x:Key="PhotosHeaderTemplate">
        <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center" Margin="5,0,0,0">
            <ContentControl ContentTemplate="{StaticResource HelloTipiAccountIcon}" Margin="5,0,2,0" Height="16" Width="16" HorizontalAlignment="Left" />
            <Grid Margin="5, 0, 0, 0">
                <TextBlock VerticalAlignment="Center" FontSize="13" Foreground="#2e3134" FontFamily="{StaticResource ApplicationFont}" FontWeight="Bold"
                           Text="{Binding}" Margin="0, 0, 0, 0">
        				<TextBlock.RenderTransform>
            				<TranslateTransform X="0" Y="-1" />
        				</TextBlock.RenderTransform>
                </TextBlock>
                <TextBlock VerticalAlignment="Center" FontSize="13" Foreground="#FFFFFF" FontFamily="{StaticResource ApplicationFont}" FontWeight="Bold"
                           Text="{Binding}" Margin="0, 0, 0, 0" />
            </Grid>
        </StackPanel>
    </DataTemplate>


</ResourceDictionary>
